<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title></title>
    <#include "/header.html">
</head>
<body>
<div id="rrapp">
    <div class="leave-module">
        <div class="front-title">
            主人寄语
        </div>
        <div class="leave-form">
            <textarea id="message" v-model="message.message" placeholder="说点啥吧....."></textarea>
            <button class="btn btn-primary" id="save" data-loading-text="发表中..."
                    @click="save">发表
            </button>
        </div>
        <br/><br/>
        <div class="front-title">
            留言区
        </div>
        <div class="leave-content">
            <div class="content-item " v-for="(message,index) in messageList">
                <div class="flex-Justified  item-one">
                    <div class=""><img src="https://ss2.bdstatic.com/70cFvnSh_Q1YnxGkpoWK1HF6hhy/it/u=2083352004,97320740&fm=26&gp=0.jpg"/>
                    </div>
                    <div>
                        <p class="flex-Justified"><strong>{{message.userName}}</strong><span>{{message.createTime}}</span></p>
                        <p>{{message.message}}</p>
                    </div>
                </div>
                <div class="item-two">
                    <div v-for="(reply,index) in message.replyEntityList">
                        <p><span>“</span>管理员</p>
                        <p>{{reply.reply}}</p>
                        <p>{{reply.createTime}}</p>
                    </div>
                </div>
            </div>
        </div>
    </div>

</div>
<script src="${request.contextPath}/statics/js/modules/front/leave.js?_${.now?long}"></script>
</body>
</html>